package com.lab.book.common.service;

import com.lab.book.common.bean.User;
import com.lab.book.common.dto.SearchUserDTO;

import java.util.List;

public interface UserService {
    public List<User> queryUserList(SearchUserDTO searchUserDTO);

    public User registerUser(User user) throws Exception;

    public User existUser(String userName) throws Exception;

    public User queryUserById(Long id);

    public Boolean updateUser(User user) throws Exception;
}
